﻿@using Easy.CMS.Section.Models
@using Easy.Web.CMS
@model SectionContentImage


@if (Model.Href.IsNotNullAndWhiteSpace())
{
    <a href="@Url.PathContent(Model.Href)" target="_blank">
        <img src="@Url.Content(Model.ImageSrc)" alt="@Model.ImageAlt" title="@Model.ImageTitle" />
    </a>

}
else
{
    <img src="@Url.Content(Model.ImageSrc)" alt="@Model.ImageAlt" title="@Model.ImageTitle" />
}


